package com.ruoyi.system.domain.honor.studentaward;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 指导学生竞赛对象 student_award_info
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class StudentAwardInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String awardName;

    /** 获奖成果名称 */
    @Excel(name = "获奖成果名称")
    private String achievementName;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private String awardLevel;

    /** 组织单位 */
    @Excel(name = "组织单位")
    private String organization;

    /** 组织单位类型（1：政府，2：协会） */
    @Excel(name = "组织单位类型", readConverterExp = "1=：政府，2：协会")
    private String organizationType;

    /** 获奖日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardDate;

    /** 上传附件地址 */
    @Excel(name = "上传附件地址")
    private String attachmentUrl;

    /** 奖项类型 */
    @Excel(name = "奖项类型")
    private Integer awardType;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生类别 */
    @Excel(name = "学生类别")
    private String studentType;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    private String currentRole;

    private Long deptId;

    private List<StudentAwardMember> studentAwardMembers;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }

    public void setAchievementName(String achievementName) 
    {
        this.achievementName = achievementName;
    }

    public String getAchievementName() 
    {
        return achievementName;
    }

    public void setAwardLevel(String awardLevel) 
    {
        this.awardLevel = awardLevel;
    }

    public String getAwardLevel() 
    {
        return awardLevel;
    }

    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }

    public void setOrganizationType(String organizationType) 
    {
        this.organizationType = organizationType;
    }

    public String getOrganizationType() 
    {
        return organizationType;
    }

    public void setAwardDate(Date awardDate) 
    {
        this.awardDate = awardDate;
    }

    public Date getAwardDate() 
    {
        return awardDate;
    }

    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    public void setAwardType(Integer awardType) 
    {
        this.awardType = awardType;
    }

    public Integer getAwardType() 
    {
        return awardType;
    }

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setStudentType(String studentType) 
    {
        this.studentType = studentType;
    }

    public String getStudentType() 
    {
        return studentType;
    }

    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("awardName", getAwardName())
            .append("achievementName", getAchievementName())
            .append("awardLevel", getAwardLevel())
            .append("organization", getOrganization())
            .append("organizationType", getOrganizationType())
            .append("awardDate", getAwardDate())
            .append("attachmentUrl", getAttachmentUrl())
            .append("awardType", getAwardType())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("studentName", getStudentName())
            .append("studentType", getStudentType())
            .append("year", getYear())
            .toString();
    }


    public List<StudentAwardMember> getStudentAwardMembers() {
        return studentAwardMembers;
    }

    public void setStudentAwardMembers(List<StudentAwardMember> studentAwardMembers) {
        this.studentAwardMembers = studentAwardMembers;
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
